package com.neuedu.wemall.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-09-08 15:17:25
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("brand")
@TableName(value = "brand")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *品牌ID
    */
    @TableField(value = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
    * 品牌名称
    */
    @TableField(value = "name")
    private String name;
    /**
    * 品牌LOGO
    */
    @TableField(value = "logo")
    private String logo;
    /**
    * 商品一级分类ID
    */
    @TableField(value = "cat_id1")
    private Integer catId1;
    /**
    * 商品二级分类ID
    */
    @TableField(value = "cat_id2")
    private Integer catId2;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 创建用户ID
    */
    @TableField(value = "create_user")
    private Integer createUser;
    /**
    * 修改时间
    */
    @TableField(value = "modify_time")
    private Date modifyTime;
    /**
    * 修改用户ID
    */
    @TableField(value = "modify_user")
    private Integer modifyUser;
    /**
    * 备注信息
    */
    @TableField(value = "remark")
    private String remark;
    /**
    * 逻辑删除状态(1:未删除;9:已删除)
    */
    @TableField(value = "del_status")
    private Integer delStatus;
}